package org.crspta.gohomenotes.atozdirectories;


public class AtoZFamilyRecord {

    private String familyId;
    
    private String studentLastName;
    
    private String linkSchoolId;

    
    public String getFamilyId() {
    
        return familyId;
    }

    
    public void setFamilyId(String familyId) {
    
        this.familyId = familyId;
    }

    
    public String getStudentLastName() {
    
        return studentLastName;
    }

    
    public void setStudentLastName(String studentLastName) {
    
        this.studentLastName = studentLastName;
    }

    
    public String getLinkSchoolId() {
    
        return linkSchoolId;
    }

    
    public void setLinkSchoolId(String linkSchoolId) {
    
        this.linkSchoolId = linkSchoolId;
    }


    @Override
    public int hashCode() {

        final int prime = 31;
        int result = 1;
        result = prime * result + ((familyId == null) ? 0 : familyId.hashCode());
        result = prime * result + ((linkSchoolId == null) ? 0 : linkSchoolId.hashCode());
        result = prime * result + ((studentLastName == null) ? 0 : studentLastName.hashCode());
        return result;
    }


    @Override
    public boolean equals(Object obj) {

        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        AtoZFamilyRecord other = (AtoZFamilyRecord) obj;
        if (familyId == null) {
            if (other.familyId != null)
                return false;
        }
        else if (!familyId.equals(other.familyId))
            return false;
        if (linkSchoolId == null) {
            if (other.linkSchoolId != null)
                return false;
        }
        else if (!linkSchoolId.equals(other.linkSchoolId))
            return false;
        if (studentLastName == null) {
            if (other.studentLastName != null)
                return false;
        }
        else if (!studentLastName.equals(other.studentLastName))
            return false;
        return true;
    }


    @Override
    public String toString() {

        return "AtoZFamilyRecord [familyId=" + familyId + ", linkSchoolId=" + linkSchoolId
                + ", studentLastName=" + studentLastName + "]";
    }
    
    
    
}
